class User < ApplicationRecord
  validates :username, presence:true, length:{in: 5..30}
  validates :email, presence:true
  validates :power, presence:true
  has_secure_password
  has_one :token
end
